<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">
    <div class="row ">
        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="project_name" placeholder="项目名称"> 
        </div>
        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="company_name" placeholder="单位名称"> 
        </div>
        <div class="col-sm-2 col-sm-offset-6">
            <button class="btn btn-block btn-info" ng-click="search()">查询</button> 
        </div>
    </div>

</div>
</div>
</div>
<!-- searchArea -->
<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="col-md-2 text-center">项目名称</th>
                    <th class="col-md-3 text-center">单位名称</th>
                    <th class="col-md-2 text-center">申报处室</th>
                    <th class="col-md-2 text-center">组委办通过状态</th>
                    <th class="col-md-3 text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="obj in objs">
                    <td class="text-center">{{obj.project_name}}</td>
                    <td class="text-center">{{obj.company_name}}</td>
                    <td class="text-center">{{obj.start_time}}</td>
                    <td class="text-center">
                        <p class="" ng-show="obj.director_agree == '0'">未审核</p>
                        <p class="" ng-show="obj.director_agree == '1'">未通过</p>
                        <p class="" ng-show="obj.director_agree == '2'">通过</p> 
                    </td>
                    <td class="text-center">
                        <a ng-click="info(obj.project_code, obj.director_agree)" class="btn btn-warning btn-xs" >通过详情</a>     
                        <a ng-click="pass(obj.project_code)" class="btn btn-success btn-xs" ng-show="obj.director_agree == '0'">组委办通过</a>  
                        <a ng-click="nopass(obj.project_code)" class="btn btn-danger btn-xs" ng-show="obj.director_agree == '0'">组委办驳回</a>                             
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="text-right">
             <pagination total-items="bigTotalItems" ng-model="bigCurrentPage" ng-change="getlist()" previous-text="上一页" next-text="下一页"
                first-text="首页" last-text="尾页" max-size="maxSize" boundary-links="true" rotate="false" items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
</div>

</div>
        
